﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.MES.Customer.Domain
{
    /// <summary>
    /// 仓库表
    /// </summary>
    [SugarTable("Warehouse")]
    public class Warehouse
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "仓库Id")]
        public int WarehouseId { get; set; }

        [SugarColumn(ColumnDescription = "仓库名称", Length = 50)]
        public string ?WarehouseName { get; set; }

        [SugarColumn(ColumnDescription = "父Id")]
        public int Pid { get; set; }
    }
}
